class CreateChatrooms < ActiveRecord::Migration
  def self.up
    create_table :chatrooms do |t|
      t.column :name, :string
      t.column :scope, :integer
      t.column :password_hashed, :string
      t.column :password_salt, :string
    end
  end

  def self.down
    drop_table :chatrooms
  end
end
